# .PHONY:test
# test:test.cc add.cpp sub.cpp
# 	g++ $^ -o $@ -std=c++11

# # 报错
# .PHONY:test
# test:test.cc
# 	g++ $^ -o $@ -std=c++11

.PHONY:test
test:test.cc
	g++ $^ -o $@ -std=c++11 -I . -L . -l mymath

.PHONY:clean
clean:
	rm -f test